<form id="pagerForm" method="post" action="demo_page1.html">
  <input type="hidden" name="status" value="${param.status}">
  <input type="hidden" name="keywords" value="${param.keywords}" />
  <input type="hidden" name="pageNum" value="1" />
  <input type="hidden" name="numPerPage" value="${model.numPerPage}" />
  <input type="hidden" name="orderField" value="${param.orderField}" />
</form>


<div class="pageHeader">
  <form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
  <div class="searchBar">
    <table class="searchContent" style="width:600px;float:left;">
      <tr>
        <td>
          关键字：<input type="text" name="keyword" />
        </td>
        <td>
          <select class="combox" name="province">
            <option value="">任务状态</option>
            <option value="待审核">待审核</option>
            <option value="已审核">已审核</option>
            <option value="已开始">已开始</option>
            <option value="已完成">已完成</option>
          </select>
        </td>
        <td>
          发布日期：<input type="text" class="date" readonly="true" />
        </td>
      </tr>
    </table>
    <div class="subBar" style="width:200px;float:right;">
      <ul>
        <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
        <li><a class="button" href="/search" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
      </ul>
    </div>
  </div>
  </form>
</div>
<div class="pageContent">
  <div class="panelBar">
    <ul class="toolBar">
      <li><a class="add" href="/new_mission" target="navTab"><span>添加新任务</span></a></li>
      <li><a class="delete" href="demo/common/ajaxDone.html?uid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
      <li><a class="edit" href="/modify_mission/?mission_id={sid_user}" target="navTab"><span>修改</span></a></li>
      <li class="line">line</li>
      <li><a class="icon" href="#" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
    </ul>
  </div>
  <table class="table" width="100%" layoutH="138">
    <thead>
      <tr>
        <th>任务名称</th>
        <th width="120">发布者</th>
        <th width="100">开始时间</th>
        <th width="100">计划完成时间</th>
        <th width="150">实际完成时间</th>
        <th width="80" align="center">状态</th>
      </tr>
    </thead>
    <tbody>
      {% for m in mission_list %}
        <tr target="sid_user"> 
          <td>
            <a href="/view_mission/?mission_id={{m['mission_id']}}" target="navTab">
                 {{m['mission_name']}}
            </a>
          </td>
          <td>
             {{m['mission_publisher']}}
          </td>
          <td>
             {{m['mission_starttime']}}
          </td>
          <td>
             {{m['mission_plan_end_time']}}
          </td>
          <td>
             {{m['mission_actuall_end_time']}}
          </td>
          <td>
             {{m['mission_status']}}
          </td>
        </tr>
        {% endfor %}
    </tbody>
  </table>
  <div class="panelBar">
    <div class="pages">
      <span>显示</span>
      <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
        <option value="20">20</option>
        <option value="50">50</option>
        <option value="100">100</option>
        <option value="200">200</option>
      </select>
      <span>条，共${totalCount}条</span>
    </div>
    
    <div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>

  </div>
</div>
